<div ng-include=" 'app/tpl/header.html' "></div>

<div class="container" >
    <form action="" method=""   ng-hide="ordered">
        <div class="form-group">
            <label for="uname" class="control-label">联系人：</label>
            <input ng-model="uname" name="user_name" id="uname" type="text" class="form-control" placeholder=""/>
        </div>
        <div class="form-group">
            <label for="gender" class="control-label">性别：</label><br/>
            <label id="gender" class=" radio-inline">
                <input ng-model="gender" name="gender" type="radio" class="" placeholder="" value="1"/> 男士
            </label>
            <label class="control-label radio-inline">
                <input ng-model="gender" name="gender" type="radio" class="" placeholder="" value="2"/> 女士
            </label>

        </div>
        <div class="form-group">
            <label for="uname" class="control-label">联系电话：</label>
            <input ng-model="phone" type="text" class="form-control" placeholder=""/>
        </div>
        <div class="form-group">
            <label for="uname" class="control-label">送餐地址：</label>
            <textarea ng-model="addr" class="form-control" rows="3"></textarea>
        </div>
        <div class="form-group">
            <input type="button" ng-click="submitMyOrder()" class="btn btn-success form-control " value="提交"/>
        </div>

    </form>
    <div class="panel" ng-show="ordered">
        <div class="panel-body">
            <div class="alert alert-success">
                <span>下单成功！订单编号：{{orderId}}。您可已在“我的订单”中查看您的订单状态！</span>
            </div>
        </div>
    </div>
</div>

<div ng-include=" 'app/tpl/footer.html' "></div>

